// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'vant/lib/index.css';
import Vant from 'vant';
Vue.use(Vant);
import {Lazyload} from 'vant';
Vue.use(Lazyload);
import {Toast} from 'vant';
Vue.use(Toast);
import { Card } from 'vant';
Vue.use(Card);
import { Field } from 'vant';
Vue.use(Field);
import { Collapse, CollapseItem } from 'vant';
Vue.use(Collapse);
Vue.use(CollapseItem);
import { AddressEdit } from 'vant';
Vue.use(AddressEdit);
import { DropdownMenu, DropdownItem } from 'vant';
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
import { Panel } from 'vant';
Vue.use(Panel);
import { SubmitBar } from 'vant';
Vue.use(SubmitBar);
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
